﻿using System;

namespace Model
{
    public class YX_BANK_DETAILLIST
    {
        /// <summary>
        /// ID
        /// </summary>
        public decimal N_DETAIL_LISTID { get; set; }

        /// <summary>
        ///流水主表id
        /// </summary>
        public decimal N_LIST_ID { get; set; }

        /// <summary>
        ///系统记账日期（与周计划匹配日期）
        /// </summary>
        public DateTime D_TRANDATE { get; set; }

        /// <summary>
        /// 凭证种类
        /// </summary>
        public string C_CRE_TYP { get; set; }

        /// <summary>
        /// 凭证号码
        /// </summary>
        public string C_CRE_NO { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        public string C_MESSAGE { get; set; }

        /// <summary>
        /// 发生额
        /// </summary>
        public decimal N_AMT { get; set; }

        /// <summary>
        ///余额
        /// </summary>
        public decimal N_AMT1 { get; set; }

        /// <summary>
        ///借贷标志 0-借 转出 ,1-贷 转入　
        /// </summary>
        public decimal N_FLAG1 { get; set; }

        /// <summary>
        /// 对方账号
        /// </summary>
        public string C_ACCNO2 { get; set; }

        /// <summary>
        /// 对方账户名称
        /// </summary>
        public string C_ACC_NAME1 { get; set; }

        /// <summary>
        ///交易钞汇标志 0－钞户 1－汇户
        /// </summary>
        public decimal N_FLAG2 { get; set; }

        /// <summary>
        /// 交易流水号
        /// </summary>
        public string C_TRAN_FLOW { get; set; }

        /// <summary>
        /// 企业支付流水号
        /// </summary>
        public string C_BFLOW { get; set; }

        /// <summary>
        /// 活存账户明细号
        /// </summary>
        public string C_DET_NO { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string C_DET { get; set; }

        /// <summary>
        /// 关联账号 ,一户通主账户查询时返回关联子账号　
        /// </summary>
        public string C_RLTV_ACCNO { get; set; }

        /// <summary>
        /// 对方账户开户行名称
        /// </summary>
        public string C_CADBANK_NM { get; set; }

        /// <summary>
        /// 银行流水匹配编号
        /// </summary>
        public string C_PROWEEKNUM { get; set; }

        /// <summary>
        /// 主账号 （手动录入时 需输入）
        /// </summary>
        public string C_ACCNO1 { get; set; }

        /// <summary>
        /// 银行id（手动录入时）
        /// </summary>
        public decimal N_BANK_ID { get; set; }

        /// <summary>
        /// 真实银行流水发生时间
        /// </summary>
        public DateTime D_BANKREDATE { get; set; }

        /// <summary>
        /// 匹配标志 0未匹配 1已匹配
        /// </summary>
        public decimal N_STATE { get; set; }

        /// <summary>
        /// 公司id
        /// </summary>
        public decimal N_COMPANY_ID { get; set; }
    }
}